package com.me.modules.scheduling.service;

import com.me.modules.common.page.Page;
import com.me.modules.scheduling.entity.SchedulingInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 排班表
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-28 14:29:35
 */
public interface SchedulingInfoService {

	SchedulingInfoEntity queryObject(String id);

	List<SchedulingInfoEntity> queryList(Map<String, Object> map);

    List<SchedulingInfoEntity> queryListByBean(SchedulingInfoEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(SchedulingInfoEntity schedulingInfo);

	int update(SchedulingInfoEntity schedulingInfo);

	int delete(String id);

	int deleteBatch(Integer[] ids);

	Page<SchedulingInfoEntity> findPage(SchedulingInfoEntity schedulingInfoEntity, int pageNum);

	List<SchedulingInfoEntity> queryCalendarList();
}
